-
Notifications
You must be signed in to change notification settings - Fork 134
fix: scripts: mp1 series eth pin config #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated the pins based on zephyrproject-rtos#287 Signed-off-by: Arif Balik <[email protected]>
Updated the pins based on zephyrproject-rtos#287 Signed-off-by: Arif Balik <[email protected]>
6118bdb
to
cb51abc
Compare
Updated the pins based on zephyrproject-rtos#287 Signed-off-by: Arif Balik <[email protected]>
hello @arifbalik Thanks for your contribution! Please find below few comments:
|
I was trying to bring up ethernet on stm32mp1 and realized the pin data is quite different than what was specified in the default yml file, I'll see if I can put it inside the default one but it seems unlikely. Also last time I updated the pinctrl files @erwango suggested that I should open another PR for the |
Maybe I wasn't clear enough, I wanted to mean splitting into disctinct commits, not PRs. |
oh my bad |
perhaps you could just add
|
The problem is that some of the definitions in the pin data matches some regex expressions inside For example some definitions will match the following regex and this is from - name: ETH (Extended)
match: "^ETH\\d+_(?:MDC|MDIO|PHY_INTN|PPS_OUT|CLK|TX_ER)$"
slew-rate: very-high-speed But none would match against this; - name: ETH
match: "^ETH+_(?:COL$|CRS|CRS_DV|MDC|MDIO|PPS_OUT|REF_CLK|RX_CLK|RX_DV|RX_ER||RXD[0-3]|TX_CLK|TX_EN|TXD[0-3])$"
slew-rate: very-high-speed Maybe I could remove the expressions inside |
STM32MP1 series has different Ethernet namings than what is specified in stm32-pinctrl-config.yaml, so I did put another config file with one regex; `ETH[12]_(CLK|COL|CRS|CRS_DV|GTX_CLK|MDC|MDIO|PHY_INTN|PPS_OUT|REF_CLK|RX_CLK|RX_CTL|RX_DV|RX_ER|RXD|TX_CLK|TX_CTL|TX_EN|TX_ER|TXD)` Signed-off-by: Arif Balik <[email protected]>
Updated the pins based on zephyrproject-rtos#287 Signed-off-by: Arif Balik <[email protected]>
cb51abc
to
bf87279
Compare
Is Completing the If we are unable to enhance the stm32-pinctrl-config.yaml, an alternative could be to include the changes in stm32mp1-pinctrl-config.yaml to only override the ETH section. |
STM32MP1 series has different Ethernet namings than what is specified in stm32-pinctrl-config.yaml, so I did put another config file with one regex;
ETH[12]_(CLK|COL|CRS|CRS_DV|GTX_CLK|MDC|MDIO|PHY_INTN|PPS_OUT|REF_CLK|RX_CLK|RX_CTL|RX_DV|RX_ER|RXD|TX_CLK|TX_CTL|TX_EN|TX_ER|TXD)